package com.itheima.fanxing;

import com.itheima.domain.Student;

public class Demo03 {
    public static void main(String[] args) {
        Box<String> box = new Box<>();
        box.setName("吴亦凡");
        box.setAge(31);
        box.setE("海淀监狱");
        System.out.println(box);

        Box<Student> studentBox =
                new Box<>("鹿晗",31,new Student("关晓彤",24));

        System.out.println(studentBox);

    }
}
